package com.ryder.ryderschool.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ryder.ryderschool.entity.ProjectFunding;

public interface ProjectFundingService extends IService<ProjectFunding> {
    void createFunding(ProjectFunding funding);
    void updateFunding(ProjectFunding funding);
    void deleteFunding(Integer id);
    ProjectFunding getFunding(Integer id);
    Page<ProjectFunding> listFundings(Integer projectId, Integer pageNum, Integer pageSize);
    void approveFunding(Integer id, boolean approved, String comment);
} 